package cn.zhyjohn.paysystem.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;


/**
 * @author JOHN
 * @description 支付宝配置 Bean
 * @date 14:52
 **/
@Component
@ConfigurationProperties(prefix = "paysystem.alibaba")
@Data
public class AliPayBean {

    @ApiModelProperty(value = "APPID")
    private String appId;

    @ApiModelProperty(value = "私有密钥")
    private String privateKey;

    @ApiModelProperty(value = "公有密钥")
    private String publvicKey;

    @ApiModelProperty(value = "服务地址")
    private String serverUrl;

    @ApiModelProperty(value = "外网地址")
    private String domain;
}
